package cn.example.thread;

/**
 * @author July
 * @description
 * @create 2025-09-01 13:29
 */
public class MyThread extends Thread {

    private String name;

    public MyThread(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println("Thread start : " + this.name + ",i=" + i);
        }
    }
}
